package com.correo.database.beans;

import java.sql.Date;

public class ConsultaMailBean {


	private boolean recivedMails;
	private CasillaCorreoBean	casillaSend;
	private CasillaCorreoBean	casillaRecive;
	private String subject;
	private String importance;
	private String state;  
	private Date 			dateRecive;
	private Date 			dateSend;
	private UserBean user;
	private String idMail;
	private MailBean mail;
	
	public String getIdMail() {
		return idMail;
	}


	public void setIdMail(String idMail) {
		this.idMail = idMail;
	}


	public ConsultaMailBean(){
		recivedMails= true;
		casillaRecive=null;
		casillaSend= null;
		subject= null;
		importance=null;
		state=null;
		dateRecive=null;
		dateSend=null;
	}
	
	
	public void setDateSend(Date dateSend) {
		this.dateSend = dateSend;
	}
	public Date getDateSend() {
		return dateSend;
	}
	public CasillaCorreoBean getCasillaRecive() {
		return casillaRecive;
	}
	public void setCasillaRecive(CasillaCorreoBean casillaRecive) {
		this.casillaRecive = casillaRecive;
	}
	public CasillaCorreoBean getCasillaSend() {
		return casillaSend;
	}
	public void setCasillaSend(CasillaCorreoBean casillaSend) {
		this.casillaSend = casillaSend;
	}
	public Date getDateRecive() {
		return dateRecive;
	}
	public void setDateRecive(Date dateRecive) {
		this.dateRecive = dateRecive;
	}
	public String getImportance() {
		return importance;
	}
	public void setImportance(String importance) {
		this.importance = importance;
	}
	public boolean getRecivedMails() {
		return recivedMails;
	}
	public void setRecivedMails(boolean recivedMails) {
		this.recivedMails = recivedMails;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}


	public void setUser(UserBean userActual) {
		// TODO Auto-generated method stub
		user=userActual;
	}

	public UserBean getUser() {
		return user;
	}


	public void setMail(MailBean mail) {
		this.mail = mail;
		
	}


	public MailBean getMail() {
		// TODO Auto-generated method stub
		return mail;
	}
	
	
}
